package com.suray.wcs.service.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.suray.commin.core.utils.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *
 * @author cooper
 * @since 2019-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcs_assign_config")
public class AssignConfigDB extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 层
     */
    private Integer floor;
    /**
     * 限制小车数量
     */
    private Integer rgvLimit;
    /**
     * 平均任务数量
     */
    private Integer average;

    /**
     * 区域id
     */
    private Integer zoneId;

    /**
     * 调车模式,0跨层调车；1跨区调车
     */
    private Integer moveRgvType;
    /**
     * 区域名称
     */
    @TableField(exist = false)
    private String zoneName;
}
